{
	"ProcessTemplates": [
		{
			"Name": "HTTP endpoint returning Microsoft SQL data as JSON",
			"Modified": "2024-05-24T07:28:51.8446221",
			"Modifier": "janne.pennanen@frends.com",
			"Tags": [
				"Json",
				"MicrosoftSQL"
			],
			"TemplateProcessTags": [],
			"Description": "This template process receives an HTTP request, queries data from a Microsoft SQL database based on filters given in the HTTP request, transforms the data into JSON format and returns it to the HTTP caller.",
			"Version": 1,
			"UniqueIdentifier": "86cb6b4a-8401-4647-af5a-1f461f782e59",
			"ProcessVariablesJson": "{\"TableName\":{\"Value\":\"\\\"myTable\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The name of the Microsoft SQL table to be queried. \"},\"ConnectionString\":{\"Value\":\"\\\"Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;\\\"\",\"IsSecret\":true,\"Mode\":\"text\",\"Description\":\"Connection string for the Microsoft SQL database.\"}}",
			"ProcessInfo": {
				"Process": {
					"Name": "HTTP endpoint returning Microsoft SQL data as JSON",
					"Modified": "2024-05-24T07:28:51.8446221",
					"Modifier": "janne.pennanen@frends.com",
					"TagString": null,
					"Tags": [],
					"Description": "This template process receives an HTTP request, queries data from a Microsoft SQL database based on filters given in the HTTP request, transforms the data into JSON format and returns it to the HTTP caller.",
					"Version": 1,
					"UniqueIdentifier": "a94d12d0-0e07-4061-9369-da3cf5e68c87",
					"GraphJson": null,
					"Bpmn": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn2:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:bpmn2=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sample-diagram\" targetNamespace=\"http://bpmn.io/schema/bpmn\" xsi:schemaLocation=\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\"><bpmn2:process id=\"Process_1\" isExecutable=\"false\"><bpmn2:startEvent id=\"StartEvent_1\" name=\"HTTP request\"><bpmn2:outgoing>Flow_01mqsrd</bpmn2:outgoing></bpmn2:startEvent><bpmn2:task id=\"Activity_1yot1sz\" name=\"Validate filterField\"><bpmn2:incoming>Flow_01mqsrd</bpmn2:incoming><bpmn2:outgoing>Flow_0im386g</bpmn2:outgoing></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_01mqsrd\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_1yot1sz\" /><bpmn2:exclusiveGateway id=\"Gateway_1lcwxcj\" name=\"Validation passed?\" default=\"Flow_1hcr2ll\"><bpmn2:incoming>Flow_0im386g</bpmn2:incoming><bpmn2:outgoing>Flow_1hcr2ll</bpmn2:outgoing><bpmn2:outgoing>Flow_19f8bvf</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_0im386g\" sourceRef=\"Activity_1yot1sz\" targetRef=\"Gateway_1lcwxcj\" /><bpmn2:intermediateThrowEvent id=\"Event_0mrte9s\" name=\"filterField did not pass validation, return 400\"><bpmn2:incoming>Flow_1hcr2ll</bpmn2:incoming><bpmn2:signalEventDefinition /></bpmn2:intermediateThrowEvent><bpmn2:sequenceFlow id=\"Flow_1hcr2ll\" name=\"no\" sourceRef=\"Gateway_1lcwxcj\" targetRef=\"Event_0mrte9s\" /><bpmn2:task id=\"Activity_1088l22\" name=\"Execute query\"><bpmn2:incoming>Flow_19f8bvf</bpmn2:incoming><bpmn2:outgoing>Flow_0gratwv</bpmn2:outgoing><bpmn2:property id=\"Property_1voth6g\" name=\"__targetRef_placeholder\" /><bpmn2:dataInputAssociation id=\"DataInputAssociation_0233xwb\"><bpmn2:sourceRef>DataStoreReference_02azdxc</bpmn2:sourceRef><bpmn2:targetRef>Property_1voth6g</bpmn2:targetRef></bpmn2:dataInputAssociation></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_19f8bvf\" name=\"yes\" sourceRef=\"Gateway_1lcwxcj\" targetRef=\"Activity_1088l22\" /><bpmn2:exclusiveGateway id=\"Gateway_1ok5kwe\" name=\"Query successful?\" default=\"Flow_11jhmk0\"><bpmn2:incoming>Flow_0gratwv</bpmn2:incoming><bpmn2:outgoing>Flow_11jhmk0</bpmn2:outgoing><bpmn2:outgoing>Flow_1b9d8a7</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:intermediateThrowEvent id=\"Event_07i896e\" name=\"Database query unsuccessful, return 500\"><bpmn2:incoming>Flow_11jhmk0</bpmn2:incoming><bpmn2:signalEventDefinition /></bpmn2:intermediateThrowEvent><bpmn2:sequenceFlow id=\"Flow_11jhmk0\" name=\"no\" sourceRef=\"Gateway_1ok5kwe\" targetRef=\"Event_07i896e\" /><bpmn2:sequenceFlow id=\"Flow_1b9d8a7\" name=\"yes\" sourceRef=\"Gateway_1ok5kwe\" targetRef=\"Event_16ccisf\" /><bpmn2:dataStoreReference id=\"DataStoreReference_02azdxc\" /><bpmn2:endEvent id=\"Event_16ccisf\" name=\"Send response 200 and queried data to caller\"><bpmn2:incoming>Flow_1b9d8a7</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_0gratwv\" sourceRef=\"Activity_1088l22\" targetRef=\"Gateway_1ok5kwe\" /><bpmn2:textAnnotation id=\"TextAnnotation_0tfwiqc\"><bpmn2:text>The HTTP request should contain the filtering details as path parameters:\n\nyourfrendsagent.frendsapp.com/queryDatabase?filterfield=email&amp;filterValue=my.email@example.com</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_1r4d23e\" sourceRef=\"StartEvent_1\" targetRef=\"TextAnnotation_0tfwiqc\" /><bpmn2:textAnnotation id=\"TextAnnotation_1qyi8cx\"><bpmn2:text>The filterField parameter may only contain alphanumeric characters and underscores. filterValue doesn't need validation since it can be passed as a query parameter to the \"Execute query\" -task.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_0vs65jv\" sourceRef=\"Activity_1yot1sz\" targetRef=\"TextAnnotation_1qyi8cx\" /><bpmn2:textAnnotation id=\"TextAnnotation_0uk2g48\"><bpmn2:text>Database connection string and table to be queried should be stored in process variables.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_14mpdsz\" sourceRef=\"Activity_1088l22\" targetRef=\"TextAnnotation_0uk2g48\" /><bpmn2:group id=\"Group_0blatbl\" categoryValueRef=\"CategoryValue_1azwvpj\" /><bpmn2:group id=\"Group_0axi0iy\" categoryValueRef=\"CategoryValue_099h944\" /></bpmn2:process><bpmn2:category id=\"Category_0yh350r\"><bpmn2:categoryValue id=\"CategoryValue_1azwvpj\" value=\"Input validation\" /></bpmn2:category><bpmn2:category id=\"Category_1yez7au\"><bpmn2:categoryValue id=\"CategoryValue_099h944\" value=\"Database query\" /></bpmn2:category><bpmndi:BPMNDiagram id=\"BPMNDiagram_1\"><bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"Process_1\"><bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\"><dc:Bounds x=\"372\" y=\"240\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"356\" y=\"283\" width=\"69\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1yot1sz_di\" bpmnElement=\"Activity_1yot1sz\"><dc:Bounds x=\"500\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1lcwxcj_di\" bpmnElement=\"Gateway_1lcwxcj\" isMarkerVisible=\"true\"><dc:Bounds x=\"685\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"688\" y=\"203\" width=\"47\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_0mrte9s_di\" bpmnElement=\"Event_0mrte9s\"><dc:Bounds x=\"692\" y=\"367\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"671\" y=\"410\" width=\"80\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1088l22_di\" bpmnElement=\"Activity_1088l22\"><dc:Bounds x=\"920\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1ok5kwe_di\" bpmnElement=\"Gateway_1ok5kwe\" isMarkerVisible=\"true\"><dc:Bounds x=\"1135\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1131\" y=\"203\" width=\"58\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_07i896e_di\" bpmnElement=\"Event_07i896e\"><dc:Bounds x=\"1142\" y=\"367\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1121\" y=\"410\" width=\"79\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"DataStoreReference_02azdxc_di\" bpmnElement=\"DataStoreReference_02azdxc\"><dc:Bounds x=\"945\" y=\"115\" width=\"50\" height=\"50\" /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_16ccisf_di\" bpmnElement=\"Event_16ccisf\"><dc:Bounds x=\"1302\" y=\"240\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1280\" y=\"283\" width=\"80\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_0tfwiqc_di\" bpmnElement=\"TextAnnotation_0tfwiqc\"><dc:Bounds x=\"60\" y=\"223\" width=\"270\" height=\"97\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_1qyi8cx_di\" bpmnElement=\"TextAnnotation_1qyi8cx\"><dc:Bounds x=\"460\" y=\"350\" width=\"170\" height=\"110\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_0uk2g48_di\" bpmnElement=\"TextAnnotation_0uk2g48\"><dc:Bounds x=\"905\" y=\"350\" width=\"155\" height=\"70\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Group_0blatbl_di\" bpmnElement=\"Group_0blatbl\"><dc:Bounds x=\"440\" y=\"100\" width=\"380\" height=\"400\" /><bpmndi:BPMNLabel><dc:Bounds x=\"593\" y=\"107\" width=\"75\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"BPMNShape_13qlc53\" bpmnElement=\"Group_0axi0iy\"><dc:Bounds x=\"880\" y=\"100\" width=\"360\" height=\"400\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1021\" y=\"107\" width=\"79\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_01mqsrd_di\" bpmnElement=\"Flow_01mqsrd\"><di:waypoint x=\"408\" y=\"258\" /><di:waypoint x=\"500\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0im386g_di\" bpmnElement=\"Flow_0im386g\"><di:waypoint x=\"600\" y=\"258\" /><di:waypoint x=\"685\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1hcr2ll_di\" bpmnElement=\"Flow_1hcr2ll\"><di:waypoint x=\"710\" y=\"283\" /><di:waypoint x=\"710\" y=\"367\" /><bpmndi:BPMNLabel><dc:Bounds x=\"719\" y=\"323\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"DataInputAssociation_0233xwb_di\" bpmnElement=\"DataInputAssociation_0233xwb\"><di:waypoint x=\"970\" y=\"165\" /><di:waypoint x=\"970\" y=\"218\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_19f8bvf_di\" bpmnElement=\"Flow_19f8bvf\"><di:waypoint x=\"735\" y=\"258\" /><di:waypoint x=\"920\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"756\" y=\"240\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_11jhmk0_di\" bpmnElement=\"Flow_11jhmk0\"><di:waypoint x=\"1160\" y=\"283\" /><di:waypoint x=\"1160\" y=\"367\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1169\" y=\"323\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1b9d8a7_di\" bpmnElement=\"Flow_1b9d8a7\"><di:waypoint x=\"1185\" y=\"258\" /><di:waypoint x=\"1302\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1201\" y=\"240\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0gratwv_di\" bpmnElement=\"Flow_0gratwv\"><di:waypoint x=\"1020\" y=\"258\" /><di:waypoint x=\"1135\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_1r4d23e_di\" bpmnElement=\"Association_1r4d23e\"><di:waypoint x=\"372\" y=\"258\" /><di:waypoint x=\"330\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_0vs65jv_di\" bpmnElement=\"Association_0vs65jv\"><di:waypoint x=\"550\" y=\"298\" /><di:waypoint x=\"550\" y=\"350\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_14mpdsz_di\" bpmnElement=\"Association_14mpdsz\"><di:waypoint x=\"970\" y=\"298\" /><di:waypoint x=\"970\" y=\"350\" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn2:definitions>",
					"ElementParameters": "[{\"Id\":\"StartEvent_1\",\"Type\":0,\"Parameters\":{\"auth\":\"ApiKey\",\"allowedSchemes\":\"HTTP,HTTPS\",\"routeTemplate\":\"queryDatabase?filterfield={filterField}&filterValue={filterValue}\",\"httpMethod\":\"GET\",\"isPublic\":true},\"SelectedTypeId\":\"HttpTrigger\",\"PromoteResultAs\":null,\"Name\":\"HTTP request\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1yot1sz\",\"Type\":1,\"Parameters\":{\"input\":{\"InputText\":{\"mode\":\"csharp\",\"value\":\"#trigger.data.queryParameters.filterField\"},\"RegularExpression\":{\"mode\":\"text\",\"value\":\"^[A-Za-z0-9_]*$\"}}},\"SelectedTypeId\":\"/ProcessTask/1a901014-6c42-4067-b8c9-a59d5b0d30a6/v1\",\"PromoteResultAs\":null,\"Name\":\"Validate filterField\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1lcwxcj\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Data is string && #result.IsMatch\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Validation passed?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_0mrte9s\",\"Type\":6,\"Parameters\":{\"httpResult\":{\"httpStatusCode\":{\"mode\":\"integer\",\"value\":\"400\"},\"httpContent\":{\"mode\":\"json\",\"value\":\"{\\r\\n    \\\"error\\\": \\\"The given filterField parameter did not pass sanitization. The value may only contain alphanumeric characters and underscores.\\\"\\r\\n}\"},\"httpContentType\":{\"mode\":\"text\",\"value\":\"application/json\"},\"httpContentEncoding\":{\"mode\":\"text\",\"value\":\"utf-8\"},\"httpHeaders\":[]}},\"SelectedTypeId\":\"HttpResult\",\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1hcr2ll\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_19f8bvf\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1088l22\",\"Type\":1,\"Parameters\":{\"input\":{\"ConnectionString\":{\"mode\":\"csharp\",\"value\":\"#var.ConnectionString\"},\"Query\":{\"mode\":\"sql\",\"value\":\"SELECT * FROM {{#var.TableName}} WHERE {{#trigger.data.queryParameters.filterField}} = @FilterValue\"},\"ExecuteType\":{\"mode\":\"select\",\"value\":\"Auto\"},\"Parameters\":[{\"Name\":{\"mode\":\"text\",\"value\":\"FilterValue\"},\"Value\":{\"mode\":\"csharp\",\"value\":\"#trigger.data.queryParameters.filterValue\"},\"SqlDataType\":{\"mode\":\"select\",\"value\":\"Auto\"}}]},\"options\":{\"ThrowErrorOnFailure\":{\"mode\":\"toggle\",\"value\":false},\"CommandTimeoutSeconds\":{\"mode\":\"integer\",\"value\":60},\"SqlTransactionIsolationLevel\":{\"mode\":\"select\",\"value\":\"ReadCommitted\"}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/52de7e2e-788d-4d77-84c9-a6c86a64e2fb/v1\",\"PromoteResultAs\":null,\"Name\":\"Execute query\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":3,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"FrendsTestElementId\",\"Type\":19,\"Parameters\":{\"input\":{\"ConnectionString\":{\"mode\":\"text\",\"value\":\"\"},\"Query\":{\"mode\":\"sql\",\"value\":\"\"},\"ExecuteType\":{\"mode\":\"select\",\"value\":\"Auto\"},\"Parameters\":[]},\"options\":{\"ThrowErrorOnFailure\":{\"mode\":\"toggle\",\"value\":true},\"CommandTimeoutSeconds\":{\"mode\":\"integer\",\"value\":60},\"SqlTransactionIsolationLevel\":{\"mode\":\"select\",\"value\":\"ReadCommitted\"}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/52de7e2e-788d-4d77-84c9-a6c86a64e2fb/v1\",\"PromoteResultAs\":null,\"Name\":\"Test\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1ok5kwe\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result[Execute query].Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Query successful?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_07i896e\",\"Type\":6,\"Parameters\":{\"httpResult\":{\"httpStatusCode\":{\"mode\":\"integer\",\"value\":500},\"httpContent\":{\"mode\":\"json\",\"value\":\"{\\r\\n    \\\"error\\\": \\\"The database query was unsuccessful.\\r\\n}\"},\"httpContentType\":{\"mode\":\"text\",\"value\":\"application/json\"},\"httpContentEncoding\":{\"mode\":\"text\",\"value\":\"utf-8\"},\"httpHeaders\":[]}},\"SelectedTypeId\":\"HttpResult\",\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_11jhmk0\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1b9d8a7\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"DataStoreReference_02azdxc\",\"Type\":22,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_16ccisf\",\"Type\":5,\"Parameters\":{\"httpResult\":{\"httpStatusCode\":{\"mode\":\"integer\",\"value\":200},\"httpContent\":{\"mode\":\"json\",\"value\":\"{\\r\\n    \\\"data\\\": {{#result[Execute query].Data}}\\r\\n}\"},\"httpContentType\":{\"mode\":\"text\",\"value\":\"application/json\"},\"httpContentEncoding\":{\"mode\":\"text\",\"value\":\"utf-8\"},\"httpHeaders\":[]}},\"SelectedTypeId\":\"HttpResult\",\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null}]",
					"ManualTriggerJson": "[]",
					"IsSubprocess": false,
					"TriggersJson": "[{\"$type\":\"HttpTrigger\",\"config\":{\"auth\":\"ApiKey\",\"allowedSchemes\":\"HTTP,HTTPS\",\"routeTemplate\":\"queryDatabase?filterfield={filterField}&filterValue={filterValue}\",\"httpMethod\":\"GET\",\"isPublic\":true},\"name\":\"HTTP request\",\"id\":\"StartEvent_1\",\"shouldNotLogParameters\":null}]",
					"AssemblyName": null,
					"PackageId": null,
					"PackageVersion": null,
					"UsedTasksJson": "[\"/ProcessTask/1A901014-6C42-4067-B8C9-A59D5B0D30A6/v1\",\"/ProcessTask/52DE7E2E-788D-4D77-84C9-A6C86A64E2FB/v1\"]",
					"UsedSubprocessesJson": "{}",
					"ProcessExecutionVersion": "",
					"FrendsVersion": "5.7.2.1685",
					"TargetFramework": "net8.0",
					"StaticRequiredEnvironmentVariables": [],
					"RequiredEnvironmentVariables": [],
					"PromotedResultVariablesJson": "[]",
					"MajorVersion": 1,
					"MinorVersion": 0,
					"IsForMonitoringRule": false,
					"ProcessVariablesJson": null
				},
				"LinkedTasks": {
					"a94d12d0-0e07-4061-9369-da3cf5e68c87": [
						{
							"Id": "1a901014-6c42-4067-b8c9-a59d5b0d30a6",
							"PackageId": "Frends.Regex.IsMatch",
							"PackageVersion": "1.1.0",
							"Name": "Frends.Regex.IsMatch.Regex.IsMatch(Input)",
							"FrameworkIdentifier": ".NETCoreApp"
						},
						{
							"Id": "52de7e2e-788d-4d77-84c9-a6c86a64e2fb",
							"PackageId": "Frends.MicrosoftSQL.ExecuteQuery",
							"PackageVersion": "1.2.0",
							"Name": "Frends.MicrosoftSQL.ExecuteQuery.MicrosoftSQL.ExecuteQuery(Input, Options, CancellationToken)",
							"FrameworkIdentifier": ".NETCoreApp"
						}
					]
				},
				"LinkedSubProcess": {},
				"Version": "Acc41"
			}
		}
	]
}